package cn.lingnan.pojo.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;
import java.util.List;
@Data
@AllArgsConstructor
@NoArgsConstructor
public class User {
    private Long userId;  // 主键
    private String userName;
    private String phoneNumber;  // 登录账号
    private String password;
    private String email;
    private Integer status;  // 状态 0：禁用 1：启用
    private LocalDateTime createTime;
    private LocalDateTime updateTime;
    private String  sex;
    private String  address;
    private String occupation;
    private Integer age;
    private String  avatar;
}